﻿namespace HuwmanCode.Net

open System
open System.IO
open System.Text
open System.Net
open System.Net.Sockets
open System.Diagnostics

type internal Response =
| RestartMarkerReply = 110
| ServiceReadyIn = 120
| DataConnectionOpenTransferStarting = 125
| FileStatusOkay = 150

| CommandOkay = 200
| CommandNotImplemented = 202
| SystemStatus = 211
| DirectoryStatus = 212
| FileStatus = 213
| HelpMessage = 214
| NameSystemType = 215
| ServiceReadyForNewUser = 220
| ServiceClosingControlConnection = 221
| DataConnectionOpenNoTransferInProgress = 225
| ClosingDataConnection = 226
| EnteringPassiveMode = 227
| UserLoggedIn = 230
| RequestedFileActionOkay = 250
| PathnameCreated = 257

| UserNameOkayNeedPassword = 331
| NeedAccountForLogin = 332
| RequestedFileActionPendingFurtherInformation = 350

| ServiceNotAvailableClosingControlConnection = 421
| CantOpenDataConnection = 425
| ConnectionClosedTransferAborted = 426
| RequestedFileActionNotTaken = 450
| RequestedActionAbortedLocalError = 451
| RequestedActionNotTakenInsufficientStorage = 452

| SytaxErrorCommandUnrecognized = 500
| SyntaxErrorInParametersOrArguments = 501
//| CommandNotImplemented = 502
| BadSequenceOfCommands = 503
| CommandNotImplementedForThatParameter = 504
| UserNotLoggedIn = 530
| NeedAccountForStoringFiles = 532
| RequestedActionNotTakenFileUnavalable = 550
| RequestedFileActionAbortedStorageAllocationExceeded = 552
| RequestedActionNotTakenIllegalFileName = 553

